home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Atari Mega Archive 2
/
Atari Mega Archive CD - Volume 2.iso
/
minix
/
up1510b.tgz
/
up1510b
/
include
/
pwd.h
< prev
next >
Wrap
C/C++ Source or Header
|
1990-07-24
|
855b
|
31 lines
/* The <pwd.h> header defines the items in the password file. */
#ifndef _PWD_H
#define _PWD_H
struct passwd {
char *pw_name; /* login name */
uid_t pw_uid; /* uid corresponding to the name */
gid_t pw_gid; /* gid corresponding to the name */
char *pw_dir; /* user's home directory */
char *pw_shell; /* name of the user's shell */
/* The following members are not defined by POSIX. */
char *pw_passwd; /* password information */
char *pw_gecos; /* just in case you have a GE 645 around */
};
/* Function Prototypes. */
#ifndef _ANSI_H
#include <ansi.h>
#endif
_PROTOTYPE( void endpwent, (void) );
_PROTOTYPE( struct passwd *getpwnam, (char *_name) );
_PROTOTYPE( struct passwd *getpwuid, (int _uid) );
_PROTOTYPE( struct passwd *getpwent, (void) );
_PROTOTYPE( int setpwent, (void) );
#endif /* _PWD_H */